]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
location: Add link to corresponding Settings
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 12 Sep 2014 09:33:39 +0000 (11:33 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 12 Sep 2014 16:59:36 +0000 (18:59 +0200)
All other submenus link to the corresponding settings, so we should
do the same for location - the privacy panel in this case, which now
sports a "Location Services" switch ...

https://bugzilla.gnome.org/show_bug.cgi?id=736542

js/ui/status/location.js

index 9dc736eb71a2367e8f13ace55cb4cf00d12b5082..26a2a223fdf33a29e3024872d3914c1077dec586 100644 (file)
@@ -70,6 +70,7 @@ const Indicator = new Lang.Class({
 
         this._item.status.text = _("Enabled");
         this._onOffAction = this._item.menu.addAction(_("Disable"), Lang.bind(this, this._onOnOffAction));
+        this._item.menu.addSettingsAction(_("Privacy Settings"), 'gnome-privacy-panel.desktop');
 
         this.menu.addMenuItem(this._item);